package com.lagou.demo.controller;


import com.lagou.edu.mvcframework.annotations.LagouController;
import com.lagou.edu.mvcframework.annotations.LagouRequestMapping;
import com.lagou.edu.mvcframework.annotations.Security;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@LagouController
@LagouRequestMapping("/demo2")
public class Demo2Controller {

    @LagouRequestMapping("/get")
    public String get(HttpServletRequest request, HttpServletResponse response, String username) {
        return username;
    }

}
